TARGET = OGLES2Navigation
TEMPLATE = app

APPROOT = ../..
SDKROOT  = $$APPROOT/../../..

QT += opengl
CONFIG += qt console

# Add our source files
SOURCES +=  \
	$$SDKROOT/Demos/Navigation/OGLES2/OGLES2Navigation.cpp \
	$$SDKROOT/Shell/PVRShell.cpp \
	$$SDKROOT/Shell/API/Qt/PVRShellAPI.cpp \
	$$SDKROOT/Shell/OS/Qt/PVRShellOS.cpp

# Add our content files
CONTENTROOT = $$APPROOT/Content

SOURCES +=  \
	$$CONTENTROOT/Alphabet.cpp \
	$$CONTENTROOT/Road.cpp \
	$$CONTENTROOT/StreetSigns.cpp \
	$$CONTENTROOT/AlphaMaskFragShader.cpp \
	$$CONTENTROOT/AntiAliasedLinesFragShader.cpp \
	$$CONTENTROOT/AntiAliasedLinesVertShader.cpp \
	$$CONTENTROOT/FragShader.cpp \
	$$CONTENTROOT/VertShader.cpp \
	$$CONTENTROOT/PivotQuadFragShader.cpp \
	$$CONTENTROOT/PivotQuadMaskedFragShader.cpp \
	$$CONTENTROOT/PivotQuadVertShader.cpp \
	$$CONTENTROOT/cameratrack.cpp \
	$$CONTENTROOT/Landmark_meshes.cpp \
	$$CONTENTROOT/LandUseA_meshes.cpp \
	$$CONTENTROOT/LandUseB_meshes.cpp \
	$$CONTENTROOT/MajHwys_meshes.cpp \
	$$CONTENTROOT/MajHwyShield_text.cpp \
	$$CONTENTROOT/RailRds_meshes.cpp \
	$$CONTENTROOT/SecHwys_meshes.cpp \
	$$CONTENTROOT/SecHwyShield_text.cpp \
	$$CONTENTROOT/Signs_billboards.cpp \
	$$CONTENTROOT/Streets_meshes.cpp \
	$$CONTENTROOT/Streets_text.cpp \
	$$CONTENTROOT/WaterPoly_meshes.cpp \
	$$CONTENTROOT/WaterSeg_meshes.cpp

# Add our header files
HEADERS  +=  \
	$$SDKROOT/Shell/PVRShell.h \
	$$SDKROOT/Shell/PVRShellImpl.h \
	$$SDKROOT/Shell/API/Qt/PVRShellAPI.h \
	$$SDKROOT/Shell/OS/Qt/PVRShellOS.h

# Add our include paths
INCLUDEPATH +=  \
	$$SDKROOT/Shell \
	$$SDKROOT/Shell/API/Qt \
	$$SDKROOT/Shell/OS/Qt \
	$$SDKROOT/Builds/OGLES2/Include \
	$$SDKROOT/Tools/OGLES2

# depends
LIBS +=  \
	-L$$SDKROOT/Tools/OGLES2/Build/Qt \
	-lOGLES2Tools

# Install
target.path = /usr/bin
INSTALLS += target

DEFINES += BUILD_OGLES2 __QT__
